.class Lcom/waiqin365/lightapp/dailyreport/view/q;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:I

.field final synthetic b:Lcom/waiqin365/lightapp/dailyreport/view/i;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/dailyreport/view/i;I)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/q;->b:Lcom/waiqin365/lightapp/dailyreport/view/i;

    iput p2, p0, Lcom/waiqin365/lightapp/dailyreport/view/q;->a:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 5

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/q;->b:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->e(Lcom/waiqin365/lightapp/dailyreport/view/i;)I

    move-result v0

    iget v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/q;->a:I

    if-ne v0, v1, :cond_1

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-static {}, Lcom/waiqin365/lightapp/dailyreport/view/i;->a()J

    move-result-wide v2

    sub-long/2addr v0, v2

    const-wide/16 v2, 0x3e8

    cmp-long v0, v0, v2

    if-gez v0, :cond_0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/i;->a(J)J

    :goto_0
    return-void

    :cond_0
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/i;->a(J)J

    :goto_1
    const-string/jumbo v0, ""

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/q;->b:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->b(Lcom/waiqin365/lightapp/dailyreport/view/i;)Ljava/util/HashMap;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/q;->b:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->d(Lcom/waiqin365/lightapp/dailyreport/view/i;)Ljava/util/ArrayList;

    move-result-object v0

    iget v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/q;->a:I

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const-string/jumbo v0, "0"

    move-object v1, v0

    :goto_2
    new-instance v2, Lcom/waiqin365/lightapp/dailyreport/b/a/q;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/q;->b:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->d(Lcom/waiqin365/lightapp/dailyreport/view/i;)Ljava/util/ArrayList;

    move-result-object v0

    iget v3, p0, Lcom/waiqin365/lightapp/dailyreport/view/q;->a:I

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v3, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/q;->b:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->d(Lcom/waiqin365/lightapp/dailyreport/view/i;)Ljava/util/ArrayList;

    move-result-object v0

    iget v4, p0, Lcom/waiqin365/lightapp/dailyreport/view/q;->a:I

    invoke-virtual {v0, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->j:Ljava/lang/String;

    invoke-direct {v2, v3, v0, v1}, Lcom/waiqin365/lightapp/dailyreport/b/a/q;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/q;->b:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/view/i;->f(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/os/Handler;

    move-result-object v1

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/dailyreport/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/dailyreport/b/a/a;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/b/b;->start()V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/q;->b:Lcom/waiqin365/lightapp/dailyreport/view/i;

    iget v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/q;->a:I

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/i;->a(Lcom/waiqin365/lightapp/dailyreport/view/i;I)I

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/i;->a(J)J

    goto :goto_1

    :cond_2
    const-string/jumbo v0, "1"

    move-object v1, v0

    goto :goto_2
.end method
